package edu.unika.aifb.graphindex.model;


/**
 * Copyright (C) 2009 Lei Zhang (beyondlei at gmail.com)
 * 
 * This file is part of the graphindex project.
 *
 * graphindex is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License, version 2
 * as published by the Free Software Foundation.
 * 
 * graphindex is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with graphindex.  If not, see <http://www.gnu.org/licenses/>.
 */


public interface IEntity  extends IResource, Comparable<IEntity>{
	public void setExtension(String extension);
	public String getExtension();
	public String[] getTerms();
	public int[] getTermFrequencies();
	public void setTerms(String[] terms);
	public void setTermFrequencies(int[] termFrequencies);
	public String getSearchId();
	public void setSearchId(String searchId);
}
